namespace SimpleWebServices.Web.UI.Html
{
    using System;
    using Xunit;

    public sealed class IAttributeAlternativeTextFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IAttributeAlternativeText).IsInterface);
        }

        [Fact]
        public void IAttributeAlternativeText_AlternativeText_get()
        {
            try
            {
                string value = (new IAttributeAlternativeTextDummy() as IAttributeAlternativeText).AlternativeText;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IAttributeAlternativeText_AlternativeText_set()
        {
            try
            {
                (new IAttributeAlternativeTextDummy() as IAttributeAlternativeText).AlternativeText = string.Empty;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}